QT       += core gui
QT  +=     sql
QT += multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    database.cpp \
    game.cpp \
    gameinterface.cpp \
    help.cpp \
    logical.cpp \
    loginregister.cpp \
    main.cpp \
    puase.cpp \
    ranklist.cpp \
    register.cpp \
    settings.cpp

HEADERS += \
    database.h \
    game.h \
    gameinterface.h \
    help.h \
    logical.h \
    loginregister.h \
    puase.h \
    ranklist.h \
    register.h \
    settings.h

FORMS += \
    game.ui \
    gameinterface.ui \
    help.ui \
    loginregister.ui \
    puase.ui \
    ranklist.ui \
    register.ui \
    settings.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    resource.qrc \
    resource.qrc

DISTFILES += \
    README.en.md \
    README.md \
    background.png \
    backgroundWHR.png \
    bejed.pro.user \
    btn.png \
    button.png \
    jingyin.png \
    sound.png \
    sound1.png \
    test.pro.user \
    test_zh_CN.ts \
    username.png \
    userpassword.png

SUBDIRS += \
    test.pro
